package daa.levelup.Library;


public class Author {

    private Integer AuthorId;
    private String   AuthName;
    private String   AuthSurname;
    private Integer  AuthBirthDate;
    private Integer  AuthDeathDate;
    private boolean AuthJunior;

    public Author(Integer authorId, String authName, String authSurname, Integer authBirthDate, Integer authDeathDate, boolean authJunior) {
        AuthorId = authorId;
        AuthName = authName;
        AuthSurname = authSurname;
        AuthBirthDate = authBirthDate;
        AuthDeathDate = authDeathDate;
        AuthJunior = authJunior;
    }

    public Integer getAuthorId() {
        return AuthorId;
    }

    public String getAuthName() {
        return AuthName;
    }

    public String getAuthSurname() {
        return AuthSurname;
    }

    public Integer getAuthBirthDate() {
        return AuthBirthDate;
    }

    public Integer getAuthDeathDate() {
        return AuthDeathDate;
    }

    public boolean isAuthJunior() {
        return AuthJunior;
    }
}
